From e80006808dba0fce2eedd4f83a8fd87ef0a472e5 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Tue, 6 Aug 2013 22:39:59 +0000 Subject: [PATCH] Fix warnings in mmo. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4516 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/mmo.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gpsbabel/mmo.cc b/gpsbabel/mmo.cc index eb41e8014..317d289e3 100644 --- a/gpsbabel/mmo.cc +++ b/gpsbabel/mmo.cc @@ -292,6 +292,7 @@ mmo_get_objid(const void* ptr) return key; } } + return 0; } @@ -299,7 +300,6 @@ static mmo_data_t* mmo_get_object(const uint16_t objid) { int key; - mmo_data_t* data; key = objid | 0x8000; if (!objects.contains(key)) { @@ -1167,7 +1167,6 @@ mmo_write_obj_mark(const char* sobj, const char* name) { QString key = QString::fromUtf8(sobj); uint16_t nr; - char buf[16]; int res; if (mmobjects.contains(key)) { -- 2.30.2